Vue CLI 3 Quick Start Guide by Ajdin Imsirovic
Author:Ajdin Imsirovic [Ajdin Imsirovic]
Language: eng
Format: epub
Tags: COM060130 - COMPUTERS / Web / Design, COM051300 - COMPUTERS / Programming / Algorithms, COM056000 - COMPUTERS / Utilities
Publisher: Packt Publishing
Published: 2019-04-30T23:03:20+00:00
Testing in Vue CLI 3
In the previous chapter, we examined the role of Babel in modern JavaScript development. We've also seen some practical examples of using it in Vue. In this chapter, we will introduce testing in JS. We will get acquainted with testing in general and see it in practice using Jest and Cypress. We'll discuss assertions and test-driven development (TDD). We'll then move on to understanding how Jest and Cypress work with Vue CLI 3. We'll discuss test utils and test cases. Specifically, we'll look at the following:
Understanding Vue plugins
Adding the Jest plugin to our Vue app
Writing unit tests inside a Vue app with Jest
Running tasks from the project tasks page
Running unit tests inside the Vue CLI UI
Working with assertions
Implementing TDD
Working with Cypress
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Content Management | Programming |
User Experience & Usability | User Generated Content |
Web Design | Web Marketing |
Web Services | Website Analytics |
Hello! Python by Anthony Briggs(9868)
The Mikado Method by Ola Ellnestam Daniel Brolund(9748)
Dependency Injection in .NET by Mark Seemann(9294)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7746)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7518)
Svelte with Test-Driven Development by Daniel Irvine(6849)
Test-Driven Development with PHP 8 by Rainier Sarabia(6569)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6513)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(6435)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6379)
Web Development with Django by Ben Shaw Saurabh Badhwar(5885)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5784)
React Application Architecture for Production by Alan Alickovic(5627)
Kotlin in Action by Dmitry Jemerov(5020)
Audition by Ryu Murakami(4557)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4298)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(4286)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(4137)
Functional Programming in JavaScript by Mantyla Dan(4019)
